import {Toast, Dialog} from "vant";


export function success(msg) {
    Toast({
        message:msg,
        icon: require("@/public/img/love.png")
    });
}


export function fail(msg) {
    Dialog.alert({
        message: msg,
        theme: 'round-button',
    });
}

